/*
 * 文件名： MerchantSettledRequest.java
 * 
 * 工程名称: common-domain
 *
 * Gopay
 *
 * 创建日期： 2018年1月4日
 *
 * Copyright(C) 2018, by www.gopay.com.cn Inc.All rights reserved.
 *
 * 原始作者: 宣广海
 *
 */
package com.gopay.common.domain.bank;

import java.io.Serializable;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.poi.ss.formula.functions.T;

/**
 * 请求商户入驻平台对象
 *
 * @author 宣广海
 *
 * @version 
 *
 * @since 2018年1月4日
 */
@SuppressWarnings("hiding")
public class MerchantSettledRequest<T> implements Serializable{

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1848289500485967876L;	
	/**
	 * 商户号
	 */
	private String merId;
	/**
	 * 商户签名密钥
	 */
	private String merKey;
	/**
	 * 调用服务URL
	 */
	private String url;
	/**
	 * 接收银行异步通知URL
	 */
	private String notifyUrl;
	/**
	 * 渠道
	 */
	private String channelCode;
	/**
	 * 银行名称：微信--》WECHAT;支付宝--》ALIPAY
	 */
	private String bankName;
	/**
	 * 请求对象
	 */
	private T body;

	public String getChannelCode() {
		return channelCode;
	}

	public void setChannelCode(String channelCode) {
		this.channelCode = channelCode;
	}

	public T getBody() {
		return body;
	}

	public void setBody(T body) {
		this.body = body;
	}
	@Override
    public String toString(){
		return "channelCode : "+ToStringBuilder.reflectionToString(channelCode) 
		+ "body : " + ToStringBuilder.reflectionToString(body);
	}

	public String getMerId() {
		return merId;
	}

	public void setMerId(String merId) {
		this.merId = merId;
	}

	public String getMerKey() {
		return merKey;
	}

	public void setMerKey(String merKey) {
		this.merKey = merKey;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getNotifyUrl() {
		return notifyUrl;
	}

	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
}
